@import url(/web/views/style.css);

.divbg {
    background-image: url("/db/public/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 32%;
    width: 100%;
    height: 400px;
    position:relative;
    .searchbox{
        position:absolute;
        bottom:50px;
        left:50%;
        transform:translateX(-50%);
        width:70%;
        opacity: 0.9;
        z-index: 10;
        .searchlist{
            position:absolute;
            width: 100%;
        }
    }
}
.latestnews{
    margin:10px;
    display: flex;
    justify-content: space-between;
    .cardsty1{
        margin: 5px;
        height: 300px;
        &:hover{
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
        }
    }
    .cardimg{
        width: 100%;
        height:200px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
}
.tab-content{
    margin: 15px;
    .cardsty2{
        margin-bottom:10px;
        height: 150px;
        display: flex;
        flex-direction: row;
        padding: 10px;
        border: none;
        &:hover{
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
        }
        .cardimg{
            background-size: cover;
            background-position: center;
            height: 100%;
            width: 240px;
        }
        .card-body{
            display: flex;
            flex-direction: column;
        }
    }
}
.navsty{
    color:black;
}